﻿
using Wpf2.ViewModels;
namespace Wpf2.Views
{
    /// <summary>
    /// Interaction logic for ManagePassword.xaml
    /// </summary>
    public partial class ManagePassword
    {
        private ViewModelUser vm;
        public ManagePassword()
        {
            InitializeComponent();
            vm = new ViewModelUser();
        }


        private void DtgDanhmucCellEditEnding(object sender, System.Windows.Controls.DataGridCellEditEndingEventArgs e)
        {
            vm.DtgCellEditEnding(sender,e);
        }

        private void dtgDanhmuc_RowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
        {
            vm.DtgRowEditEnding(sender,e);
        }
    }
}
